home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine CD 1995 / Archive Magazine CD 1995.iso / discs / prog_disc / volume_5 / issue_06 / benchmarks / c_source / tscrn < prev    next >
Encoding:
Text File  |  1991-04-29  |  362 b   |  21 lines

  1. /* textscrn */
  2.  
  3. #include <stdio.h>
  4. #include <time2.h>
  5.  
  6. main()
  7. {
  8.         int i;
  9.     clock_t start, end;
  10.  
  11.         printf("start\n");
  12.     start=clock();
  13.     for  (i =0; i<1000; i++)
  14.          printf("1234567890qwertyuiop %d \n",i);
  15.     end=clock();
  16.     printf("finish\n");
  17.     printf("The timing for this screen writing test was: %f \n", (end-start) / CLK_TCK);
  18.  
  19.  
  20. }
  21.